package com.lyc.day1107.demo02;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/7 21:28
 * @description：
 * @modified By：
 * @version:
 */
public class Test2 {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Singleton2.getInstance());
            }
        }).start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Singleton2.getInstance());
            }
        }).start();
    }
}